#@list()
#define main()
<style rel="stylesheet" type="text/css">
    table.table-bordered input{cursor: not-allowed;}
</style>
<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" style="background-color: #fff;" role="form">

    <!--要-->
	<table class="table table-bordered" >
		<input type="hidden" name="projects.id" value="#(projects.id)"/>
		<tbody>
            <tr>
                <td width="200px">
                    项目名称
                </td>
                <td width="900px" colspan="4">
                    <input type="text" readonly="readonly" name="projects.name" value="#(projects.name)"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td>
                    申报单位
                </td>
                <td width="900px" colspan="4">
                    <input type="text" name="projects.dept_id" value="#(dept)" readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td>
                    联系人
                </td>
                <td>
                    <input width="500px" type="text" name="projects.contact"  value="#(projects.contact)" readonly="readonly" class="form-control" />
                </td>
                <td width="100px">联系电话</td>
                <td width="500px" colspan="2">
                    <input type="text" name="projects.phone"  value="#(projects.phone)" readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td>
                    邮箱
                </td>
                <td>
                    <input type="text" name="projects.email"  value="#(projects.email)"  readonly="readonly"  class="form-control" />
                </td>
                <td>填报日期</td>
                <td  colspan="2">
                    <input type="text" id="indate" name="projects.indate" class="form-control"  value="#(projects.indate)"  readonly="readonly"  />
                </td>
            </tr>
            <tr>
                <td>
                    建设规模及主要建设内容
                </td>
                <td colspan="4">
                    <input type="text" name="projects.introduction"  value="#(projects.introduction)"  readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td >
                    责任单位
                </td>
                <td colspan="4">
                    <input type="text" name="projects.responsible" value="#(projects.responsible)"  readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td>
                    建设性质
                </td>
                <td>

                    <input type="text" readonly="readonly"  class="form-control" value="#(nature)">

                </td>
                <td>建设起止年限</td>
                <td width="350px">
                    <input type="text" id="start" name="projects.start" value="#(projects.start)" class="form-control"  value=""  readonly="readonly"  />
                </td>
                <td width="350px">
                    <input type="text" id="over" name="projects.over" value="#(projects.over)" class="form-control"  value="" readonly="readonly"  />
                </td>
            </tr>
            <tr>
                <td>
                    预算（万）
                </td>
                <td>
                    <input type="text" name="projects.budget" value="#(projects.budget)"  readonly="readonly"  class="form-control" />
                </td>
                <td>预算来源</td>
                <td colspan="2">
                    <input type="text" name="projects.Source" value="#(projects.Source)"  readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td colspan="5">
                    至2017年底进展情况
                </td>
            </tr>
            <tr>
                <td>
                    完成投资（万）
                </td>
                <td  colspan="4">
                    <input type="text" name="projects.Completion" value="#(projects.Completion)"  readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td>
                    工程形象进度
                </td>
                <td  colspan="4">
                    <input type="text" name="projects.progress" value="#(projects.progress)"  readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td colspan="5">
                    2018年计划安排
                </td>
            </tr>
            <tr>
                <td>
                    计划投资（万）
                </td>
                <td  colspan="4">
                    <input type="text" name="projects.plan_budget" value="#(projects.plan_budget)" readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <tr>
                <td>
                    至年底工程形象进度
                </td>
                <td  colspan="4">
                    <input type="text" name="projects.plan_progress" value="#(projects.plan_progress)"  readonly="readonly"  class="form-control" />
                </td>
            </tr>
            <!--<tr>-->
                <!--<td>-->
                    <!--附件-->
                <!--</td>-->
                <!--<td  colspan="4">-->
                    <!--<input type="text" name="projects.annex"  placeholder="附件" class="form-control" />-->
                <!--</td>-->
            <!--</tr>-->
            <!--<tr>-->
                <!--<td>-->
                    <!--备注-->
                <!--</td>-->
                <!--<td  colspan="4">-->
                    <!--<input type="text" name="projects.temarks"  placeholder="备注" value="#(projects.temarks)" class="form-control" />-->
                <!--</td>-->
            <!--</tr>-->
            <tr>
                <td>
                    专家审核意见
                </td>
                <td  colspan="4" >
                    #(projects.expert_opinion)
                </td>
            </tr>
		</tbody>
	</table>

	<!-- 表单 -->
	#if(projects.status==3)
		<a href="javascript:;" class="btn btn-info" onclick="pass(#(projects.id))"><i class="ace-icon fa fa-check bigger-110"></i> 通过</a>&nbsp;
		<a href="javascript:;" class="btn" onclick="l_back(#(projects.id))"><i class="ace-icon fa fa-close bigger-110"></i> 退回</a>
	#end
	#if(projects.status==7)
		<a href="javascript:;" class="btn btn-info" onclick="pass2(#(projects.id))"><i class="ace-icon fa fa-check bigger-110"></i> 提交至会商</a>&nbsp;
		<a href="javascript:;" class="btn"onclick="l_back(#(projects.id))"><i class="ace-icon fa fa-close bigger-110"></i> 退回</a>
	#end
	<!-- 按钮 -->

</form>
<script>
	pass = function (entId) {
		layer.msg('确定通过审核吗？', {
			time: 0 //不自动关闭
			,btn: ['确定','取消']
			,yes: function(){
				window.location.href="/projects/chooseExpert?id="+ entId;
			}
		});
	};
	pass2 = function (entId) {
				window.location.href="/listexpert/tohs?status=8&&id="+ entId;
	};

    	l_back = function (entId) {
			window.location.href="/projects/back?id="+entId
	};
</script>

#end
